www.gusucode.com > Data Store Rescope Tool 程序工具箱matlab源码 > Data Store Rescope Tool/src/removeNewline.m
function s = removeNewline(string) % REMOVENEWLINE Replaces newlines with spaces % M. Jaskolka if ischar(string) s = string; s(s == char(10)) = ' '; end end